{% if flash_messages %}{% for type, message in flash_messages %}
<div class="alert alert-{{type}}">
  <button type="button" class="close" data-dismiss="alert">×</button>
  {{message}}
</div>
{% end %}{% end %}
